home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8247 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: shellx.best.com!donstarr
  2. From: super@donstarr.org (Don Starr)
  3. Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
  4. Subject: Re: vc4.0: CTreeCtrl + Multiple Select - HELP!
  5. Date: Fri, 16 Feb 96 04:52:23 GMT
  6. Organization: Best Internet Communications
  7. Message-ID: <4g12i7$3qk_007@donstarr.best.com>
  8. References: <31115378.B53@ets.org> <3119DFB4.37C9@owl-uk.co.uk>
  9. NNTP-Posting-Host: donstarr.vip.best.com
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <3119DFB4.37C9@owl-uk.co.uk>,
  13.    Alan C Francis <alanf@owl-uk.co.uk> wrote:
  14. *Daniel I. Zuckerman wrote:
  15. *> 
  16. *> does anyone out there know how to create a CTreeCtrl (or 
  17. similar
  18. *> tree
  19. *> class) that will allow multiple selections?  i know it's 
  20. possible
  21. *> within windows, since the Project Workspace pane has a
  22. *> multiple-select
  23. *> tree, but there doesn't seem to be an option somewhere that i 
  24. can
  25. *> select to get that functionality in my program.
  26. *
  27. *Just a suggestion rather than an answer, I'm afraid, but if it's 
  28. in
  29. *a window it's probably a CTreeView rather than a CTreeCtrl.  It
  30. *might be worth broadening you serach past just the COntrol.  The 
  31. *view does have an embedded control, but it may add the 
  32. multi-select
  33. *functionality itself ?
  34. *
  35. *Alan
  36.  
  37. No, CTreeView doesn't really add any functionality. I had to do a 
  38. similar thing and ended up manually setting the states of the 
  39. TREEITEMs (different images, etc).
  40.  
  41. This really isn't surprising, as MS probably just gave us 
  42. something they had left over from their own development - try 
  43. selecting multiple folders in Explorer....
  44.  
  45. Don
  46.